fix mysterious lost message (#1370)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 13 Nov 2024 14:23:27 +0000 (07:23 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Nov 2024 14:23:27 +0000 (07:23 -0700)
gpx.cc

diff --git a/gpx.cc b/gpx.cc
index c1165dbccdfea43fa5b2c53bf81d414be6054c24..58662d11b887ae0b0bb056b0464e1272a4532a32 100644 (file)
--- a/gpx.cc
+++ b/gpx.cc
@@ -1000,7 +1000,7 @@ GpxFormat::wr_init(const QString& fname)
   // normalization makes them null.
   if (gpx_write_version.isNull() || (gpx_write_version < gpx_1_0)) {
     gbFatal(FatalMsg() << "gpx version number"
-          << gpx_write_version << "not valid.");
+          << gpx_write_version.toString() << "not valid.");
   }
 
   writer->setAutoFormatting(true);